Release 10.1A: OpenEdge Deployment:
Managing 4GL Applications
Upgrading with updated .df and CRC-based r-code
The flexibility of CRC-based r-code makes it easy to distribute a new release of an existing application.
![]()
To distribute a new release of an existing application:
- Create an incremental
.dffile of your application database using the Data Administration tool (for graphical environments) or the Data Dictionary’s Admin submenu (for character environments). For more information on creating an incremental.dffile, see OpenEdge Data Management: Database Administration .- Recompile source files that were affected by the new schema changes.
- Send the
.dffile and copies of the new r-code files that were affected by the schema changes to your users. After the users load the incremental.dffile, they can immediately run your new.rcode.Essentially, the steps you take are the same as when you use encrypted source, but you gain the following advantages:
In addition, unlike time-stamp-based r-code, you gain these advantages:
One possible disadvantage of using CRC-based r-code is that a user with the 4GL Development System, OpenEdge Studio, and OpenEdge Architect, or WebSpeed Workshop can create a counterfeit database (a database with the same structure as your application database). The user can then write a program, compile the program, and run it against your application database. (The user cannot do this if you use time-stamp-based r-code because the time-stamps in the counterfeit code would not match those in your database.)
If this concerns you, you can either turn on run-time permission checking or use the PROUTIL utility’s
DBAUTHKEYqualifier. For details on how to turn on run-time permission checking, see Chapter 3, " Maintaining Application Security."The PROUTIL utility’s
DBAUTHKEYqualifier enables you to set an authorization key for your database. When compiling a procedure, OpenEdge includes the value of this key in your r-code. CRC-based r-code that does not include the correct authorization key will not run against your database. You can insert the authorization key into existing CRC-based r-code with the PROUTIL utility’sRCODEKEYqualifier. For more information on the PROUTIL utility’sDBAUTHKEYandRCODEKEYqualifiers, see OpenEdge Data Management: Database Administration .
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |